package com.siwen.util;

import com.siwen.pojo.system.SysAdminczrztbl;

import java.util.Date;

public class SysResultUtil {
    public static SysAdminczrztbl insertSysAdminczrztbl(Object adminid,String operatenr){
            SysAdminczrztbl sysAdminczrztbl=new SysAdminczrztbl();
            sysAdminczrztbl.setAdminid((String) adminid);
           // sysAdminczrztbl.setAdminname(adminname);
            sysAdminczrztbl.setOperatenr("添加用户"+operatenr);
            sysAdminczrztbl.setOperatetime(new Date());
            return sysAdminczrztbl;
    }
    public static SysAdminczrztbl updateSysAdminczrztbl(Object adminid,String operatenr){
        SysAdminczrztbl sysAdminczrztbl=new SysAdminczrztbl();
        sysAdminczrztbl.setAdminid((String) adminid);
        // sysAdminczrztbl.setAdminname(adminname);
        sysAdminczrztbl.setOperatenr("修改用户"+operatenr+"信息");
        sysAdminczrztbl.setOperatetime(new Date());
        return sysAdminczrztbl;
    }
    public static SysAdminczrztbl deleteSysAdminczrztbl(Object adminid,String operatenr){
        SysAdminczrztbl sysAdminczrztbl=new SysAdminczrztbl();
        sysAdminczrztbl.setAdminid((String) adminid);
        // sysAdminczrztbl.setAdminname(adminname);
        sysAdminczrztbl.setOperatenr("删除用户"+operatenr+"信息");
        sysAdminczrztbl.setOperatetime(new Date());
        return sysAdminczrztbl;
    }
}
